package com.lxy.mychat.ui.FindNew;

import android.content.Intent;
import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;

import com.lxy.mychat.PyqActivity;
import com.lxy.mychat.R;

public class FindNewFragment extends Fragment {
    public FindNewFragment() {
        // Required empty public constructor
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        View view=inflater.inflate(R.layout.fragment_find_new, container, false);
        LinearLayout pengyouquan=view.findViewById(R.id.pengyouquan);
        pengyouquan.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent it=new Intent(getContext(), PyqActivity.class);
                startActivity(it);
            }
        });
        return view;
    }

}
